package cn.web.web_module.service;

import cn.itcast.pojo.order;
import cn.itcast.pojo.orderItem;
import cn.itcast.pojo.user;
import cn.itcast.util.ResponseEntity;
import com.github.pagehelper.PageInfo;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

/**
 * @Author: 张松
 * @Description:
 * @Date: Created in 9:57 2020/6/28
 * @Modified By:
 */
public interface AdminRelevantService {



    Map<String,Object> getYesterdayAdduserAndOrder();

    Map<String,Object> getEveryDayAddUserAndOrder();

    Map<String,Object> ifisEmptyAndAddMap(List<user> yesterdayAdduser, List<order> yesterdayOrder, List<orderItem> yesterdayOrderWeightAndMoney);


    PageInfo selectPartnerOrder(String openId,Integer pageNum,Integer pageSize);


    PageInfo selectStateAndNumberAndUserName(order order,String openId,Integer pageNum,Integer pageSize);
}
